package com.qst.mapper;

import com.qst.entity.Schedule;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ScheduleMapper {
    List<Schedule> findByCreatorId(Integer id);

    Schedule findById(Integer id);

    void save(Schedule h);

    void delete(Integer id);

    void update(Schedule h);

    List<Schedule> findByTeamId(int teamId);
}
